
package com.gitee.jmash.storage.mapper;

import java.util.List;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.crenjoy.proto.mapper.BeanMapper;
import com.crenjoy.proto.mapper.ProtoMapper;
import com.gitee.jmash.storage.entity.StorageOrganUserEntity;
import com.gitee.jmash.storage.entity.StorageOrganUserEntity.StorageOrganUserPk;
import jmash.storage.protobuf.StorageOrganUserCreateReq;
import jmash.storage.protobuf.StorageOrganUserKey;
import jmash.storage.protobuf.StorageOrganUserModel;

/**
 * StorageOrganUserMapper.
 *
 * @author <a href="mailto:service@crenjoy.com">crenjoy</a>
 */
@Mapper
public interface StorageOrganUserMapper extends BeanMapper,ProtoMapper {

  StorageOrganUserMapper INSTANCE = Mappers.getMapper(StorageOrganUserMapper.class);
  
  List<StorageOrganUserModel> listStorageOrganUser(List<StorageOrganUserEntity> list);
    
  StorageOrganUserModel model(StorageOrganUserEntity entity);
  
  StorageOrganUserPk pk(StorageOrganUserKey key);  
  
  StorageOrganUserKey key(StorageOrganUserModel model);  
  
  StorageOrganUserEntity create(StorageOrganUserCreateReq req);

  StorageOrganUserEntity clone(StorageOrganUserEntity entity);
  
  
}
